import type { AxiosResponse } from 'axios'
import request from '@/utils/request'

const serviceName = import.meta.env.VITE_APP_SREVICE_NAME_CITY_MANAGEMENT

/**
 * 收藏接口
 */
class FavServe {
  /**
   * 店家收藏
   */
  selCollectById<T = any>(params = {}): Promise<AxiosResponse<T>> {
    return request({
      url: `${serviceName}/sys/roleSubscribeRel/selCollectById`,
      method: 'get',
      params
    })
  }
}
export default new FavServe()
